package com.example.hello.entity;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author sjw
 * @className Log
 * @date 2022/5/23 16:31
 * @description: TODO
 */
@Document("log")
public class Log {
    /**
     * 数据库自动生成id
     */
    private String id;

    private String userId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
